﻿namespace Lanbt.Core.Entity.EntityDB.QuartzTable
{
    /// <summary>
    /// 存放已触发的触发器
    /// </summary>
    public class LANBT_FIRED_TRIGGERS
    {
        /// <summary>
        /// 调度名称
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false,ColumnDescription = "调度名称")]
        public string SCHED_NAME { get; set; }

        /// <summary>
        /// 组织id
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "组织id")]
        public string ENTRY_ID { get; set; }

        /// <summary>
        /// 触发器名称
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "触发器名称")]
        public string TRIGGER_NAME { get; set; }

        /// <summary>
        /// 触发器组
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "触发器组")]
        public string TRIGGER_GROUP { get; set; }

        /// <summary>
        /// 实例名称
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "实例名称")]
        public string INSTANCE_NAME { get; set; }

        /// <summary>
        /// 触发时间
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "触发时间")]
        public long FIRED_TIME { get; set; }

        /// <summary>
        /// 计划时间
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "计划时间")]
        public long SCHED_TIME { get; set; }

        /// <summary>
        /// 权重
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "权重")]
        public int PRIORITY { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = false, ColumnDescription = "状态")]
        public string STATE { get; set; }

        /// <summary>
        /// 作业名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnDescription = "作业名称")]
        public string? JOB_NAME { get; set; }

        /// <summary>
        /// 作业群组
        /// </summary>
        [SqlSugar.SugarColumn(ColumnDescription = "作业群组")]
        public string? JOB_GROUP { get; set; }

        /// <summary>
        /// 是否并行
        /// </summary>
        [SqlSugar.SugarColumn(ColumnDescription = "是否并行")]
        public bool? IS_NONCONCURRENT { get; set; }

        /// <summary>
        /// 是否要求唤醒
        /// </summary>
        [SqlSugar.SugarColumn(ColumnDescription = "是否要求唤醒")]
        public bool? REQUESTS_RECOVERY { get; set; }
    }
}
